<%--
  Created by IntelliJ IDEA.
  User: cyy
  Date: 2022/12/5
  Time: 16:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="rapid" uri="http://www.rapid-framework.org.cn/rapid" %>
<!DOCTYPE html>
<html>
<head>
    <title>用户主界面（父界面）</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400|Source+Code+Pro:700,900&display=swap" rel="stylesheet">
    <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet">
    <link href="lib/slick/slick.css" rel="stylesheet">
    <link href="lib/slick/slick-theme.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
    <link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css">
    <link rel="stylesheet" href="css/style.css" type="text/css">
</head>
<body>
    <!-- Nav Bar Start -->
    <div class="nav" style="display: inline;">
        <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
            <div class="container-fluid">
                <div class="collapse navbar-collapse" id="navbarNavDropdown">
                    <div class="collapse navbar-collapse justify-content-between" id="navbarCollapse">
                        <div class="col-ml-4">
                            <button onclick="showCollect()" class="btn wishlist">
                                <i class="fa fa-heart"></i>
                                <span id="collectNum">(<%=request.getAttribute("collectNum")%>)</span>
                            </button>
                            <button onclick="showCart()" class="btn cart">
                                <i class="fa fa-shopping-cart"></i>
                                <span id="cartNum">(<%=request.getAttribute("cartNum")%>)</span>
                            </button>
                            <button onclick="showEmail()" class="btn cart">
                                <i class="fa fa-envelope"></i>
                                <span id="emailNum">(<%=request.getAttribute("emailNum")%>)</span>
                            </button>
                        </div>
                        <div class="col-ml-8">
                            <div class="navbar-nav ml-auto">
                                <div class="nav-item dropdown">
                                    <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">我的账户 <%=session.getAttribute("name")%></a>
                                    <div class="dropdown-menu">
                                        <a href="/showHistory" class="dropdown-item">我的购买记录</a>
                                        <a href="login.jsp" class="dropdown-item">注销</a>
                                        <a href="/showMyInfo" class="dropdown-item">我的个人信息</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </nav>
    </div>
    <!-- Nav Bar End -->
    <!-- Bottom Bar Start -->
    <div class="bottom-bar" style="display: inline;">
        <div class="container-fluid">
            <div class="row align-items-center">
                <div class="col-md-1">
                    <input>....</input>
                </div>
            </div>
        </div>
    </div>
    <!-- Bottom Bar End -->
    <rapid:block name="mainContent">
    </rapid:block>
    <a href="#" class="back-to-top" style="display: inline;"><i class="fa fa-chevron-up" ></i></a>
    <!-- JavaScript Libraries -->
    <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.bundle.min.js"></script>
    <script src="lib/easing/easing.min.js"></script>
    <script src="lib/slick/slick.min.js"></script>

    <!-- Template Javascript -->
    <script src="js/main.js"></script>
    <script src="js/aboutLogin.js"></script>
    <script src="js/aboutCart.js"></script>
    <script src="js/aboutCollect.js"></script>
    <script src="js/aboutEmail.js"></script>

</body>
</html>
